package dto

import "time"

type BookCreateDTO struct {
	ISBN        string    `json:"isbn" binding:"required"`
	Title       string    `json:"title" binding:"required"`
	Author      string    `json:"author" binding:"required"`
	Description string    `json:"description"`
	PublishDate time.Time `json:"publish_date" binding:"required"`
}

type BookUpdateDTO struct {
	Title       string    `json:"title"`
	Author      string    `json:"author"`
	Description string    `json:"description"`
	PublishDate time.Time `json:"publish_date"`
}
